<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" class="required-validate" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label><@label key="workCenterCode.C,colon">工作中心编号:</@label></label> <input id="workCenterGrp.workCenterCode" name="workCenterCode" type="text" suggestFields="workCenterCode,workCenterText" postField="workCenterCode" suggestUrl="${rc.getContextPath()}/manage/workCenter/workCenterSuggest" lookupGroup="workCenterGrp" autocomplete="off" value="${condition.workCenterCode!''}" /></li>
                <li><label><@label key='productionControlNum.C,colon'>生产管理号：</@label></label> <input type="text" name="productionControlNum" value="${condition.productionControlNum!''}" /></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>

<div class="pageContent">

    <div class="panelBar">
        <ul class="toolBar">
            <@buttonRight menuCode="PRODUCTIONOPERATION_CONFIRM" labelKey="personnelConfirm.B" defalutName="报工">
            <li><a class="add" target="dialog" mask="true" width="650" height="300" rel="order_tab"  href="${rc.getContextPath()}/manage/productionconfirm/confirm?id={production_id}&navTabId=${navTabId!''}"><span><@label key="personnelConfirm.B">报工</@label></span></a></li></@buttonRight>
            <@buttonRight menuCode="CONTROLCONFIRM_DETAIL" labelKey="view.B" defalutName="详情">
            <li><a class="icon" target="dialog" mask="true" width="950" height="600" rel="order_tab"
                   href="${rc.getContextPath()}/manage/productionconfirm/viewProductionOperation?id={production_id}&navTabId=${navTabId!''}"><span><@label key="view.B">详情</@label></span></a></li></@buttonRight>
        </ul>
    </div>
    <table class="table" width="1200" layoutH="160">
        <thead>
            <tr>
                <th width="40"><@label key="serialNumber.C">序号</@label></th>
                <th width="100"><@label key="workCenterCode.C">工作中心编号</@label></th>
                <th width="150"><@label key="productionControlNum.C">生产管理号</@label></th>
                <th width="100"><@label key="materialCode.C">物料编号</@label></th>
                <th width="100"><@label key="cmprocess_code.C">工艺编号</@label></th>
                <th width="100"><@label key="operation.C">工序</@label></th>
                <th width="50"><@label key="plannedQuantity.C">计划数量</@label></th>
                <th width="50"><@label key="completedQuantity.C">完工数量</@label></th>
                <th width="50"><@label key="scrappedQuantity.C">报废数量</@label></th>
                <th width="50"><@label key="repairQuantity.C">返修数量</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as production>
            <tr target="production_id" rel="${production.id!''}">
                <td>${page.startRow + production_index}</td>
                <td>${production.workCenterCode!''}</td>
                <td>${production.productionControlNum!''}</td>
                <td>${production.materialCode!''}</td>
                <td>${production.processcode!''}</td>
                <td>${production.operationText!''}</td>
                <td>${production.plannedQuantity!''}</td>
                <td>${production.completedQuantity!''}</td>
                <td>${production.scrappedQuantity!''}</td>
                <td>${production.repairQuantity!''}</td>
            </tr>
            </#list>
            <#else>
            <tr target="production_id">
                <td colspan="20" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
            </tr>
            </#if>
            <#else>
            <tr target="production_id">
                <td colspan="20" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
            </tr>
            </#if>
        </tbody>
    </table>
<#include "/common/panelBar.html">
</div>
<script type="text/javascript">

</script>